package com.be.beadmin.device.dto.output;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ContentFontStyle(fontName = "Microsoft YaHei",fontHeightInPoints = 12)
@HeadFontStyle(fontName = "Microsoft YaHei",fontHeightInPoints = 12)
public class MaintenanceInfoExcelEx {
    @ExcelProperty("维修记录编号")
    private String maintenanceid;
    @ExcelProperty("设备名称")
    private String deviceName;
    @ExcelProperty("故障描述")
    private String faultDesc;
    @ExcelProperty("指派人员")
    private String assignedTo;
    @ExcelProperty("维修开始")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GTM+8")
    private Date beginMaintenance;
    @ExcelProperty("维修结束")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GTM+8")
    private Date endMaintenance;
    @ExcelProperty("维修工时")
    private Float costTime;
    @ExcelProperty("服务备注")
    private String serviceNotes;
    @ExcelProperty("状态")
    private String state;






//    @ExcelProperty("设备编号")
//    private String deviceid;
//
//
//
//    @ExcelProperty("故障时间")
//    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GTM+8")
//    private Date faultTime;
//    @ExcelProperty("唯一标识")
//    private String identification;


}
